import request from '@/utils/request'
// 获取企业列表信息接口
export const enterpriseList = (params) => {
  return request({
    url: '/enterprise/list',
    params
  })
}

// 企业添加接口
export const enterpriseAdd = (data) => {
  return request({
    url: '/enterprise/add',
    method: 'post',
    data
  })
}

// 修改企业状态
export const enterpriseStatus = (data) => {
  return request({
    url: '/enterprise/status',
    method: 'post',
    data
  })
}

// 企业删除接口
export const enterpriseRemove = (data) => {
  return request({
    url: '/enterprise/remove',
    method: 'post',
    data
  })
}

// 企业编辑接口
export const enterpriseEdit = (data) => {
  return request({
    url: '/enterprise/edit',
    method: 'post',
    data
  })
}
